package com.zhz.lib.project.domain.custom;

import java.util.Date;

/**
 * Custom entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Custom implements java.io.Serializable {

    // Fields

    private Integer customId;
    private String  title;
    private String  content;
    private String  editor;
    private String  writer;
    private String  level;
    private String  keyword;
    private Integer aproveState;
    private Date    aproveTime;
    private String  sortType;
    private Date    pubDate;
    private Integer hit;
    private Integer ifDelete;

    // Constructors

    /** default constructor */
    public Custom() {
    }

    /** minimal constructor */
    public Custom(int ifDelete) {
        this.ifDelete = ifDelete;
    }

    /** full constructor */
    public Custom(String title, String content, String editor, String writer, String level,
                  String keyword, Integer aproveState, Date aproveTime, String sortType,
                  Date pubDate, Integer hit, int ifDelete) {
        this.title = title;
        this.content = content;
        this.editor = editor;
        this.writer = writer;
        this.level = level;
        this.keyword = keyword;
        this.aproveState = aproveState;
        this.aproveTime = aproveTime;
        this.sortType = sortType;
        this.pubDate = pubDate;
        this.hit = hit;
        this.ifDelete = ifDelete;
    }

    // Property accessors

    public Integer getCustomId() {
        return this.customId;
    }

    public void setCustomId(Integer customId) {
        this.customId = customId;
    }

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getEditor() {
        return this.editor;
    }

    public void setEditor(String editor) {
        this.editor = editor;
    }

    public String getWriter() {
        return this.writer;
    }

    public void setWriter(String writer) {
        this.writer = writer;
    }

    public String getLevel() {
        return this.level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getKeyword() {
        return this.keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Integer getAproveState() {
        return this.aproveState;
    }

    public void setAproveState(Integer aproveState) {
        this.aproveState = aproveState;
    }

    public Date getAproveTime() {
        return this.aproveTime;
    }

    public void setAproveTime(Date aproveTime) {
        this.aproveTime = aproveTime;
    }

    public String getSortType() {
        return this.sortType;
    }

    public void setSortType(String sortType) {
        this.sortType = sortType;
    }

    public Date getPubDate() {
        return this.pubDate;
    }

    public void setPubDate(Date pubDate) {
        this.pubDate = pubDate;
    }

    public Integer getHit() {
        return this.hit;
    }

    public void setHit(Integer hit) {
        this.hit = hit;
    }

    public int getIfDelete() {
        return this.ifDelete;
    }

    public void setIfDelete(int ifDelete) {
        this.ifDelete = ifDelete;
    }

}